package com.ruoyi.attached.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.attached.domain.Attached;

/**
 * 附Service接口
 *
 * @author ruoyi
 * @date 2025-05-08
 */
public interface IAttachedService
{
    /**
     * 查询附
     *
     * @param id 附主键
     * @return 附
     */
    public Attached selectAttachedById(Long id);

    public Map<String, Object> getInfoAll(String ids,String businessType);

    /**
     * 查询附列表
     *
     * @param attached 附
     * @return 附集合
     */
    public List<Attached> selectAttachedList(Attached attached);

    /**
     * 新增附
     *
     * @param attached 附
     * @return 结果
     */
    public int insertAttached(Attached attached);

    /**
     * 修改附
     *
     * @param attached 附
     * @return 结果
     */
    public int updateAttached(Attached attached);

    /**
     * 批量删除附
     *
     * @param ids 需要删除的附主键集合
     * @return 结果
     */
    public int deleteAttachedByIds(Long[] ids);

    /**
     * 批量逻辑删除附
     *
     * @param ids 需要删除的附主键集合
     * @return 结果
     */
    public int logicDeleteAttached(Long[] ids,String delType,Long delUser);
    /**
     * 删除附信息
     *
     * @param id 附主键
     * @return 结果
     */
    public int deleteAttachedById(Long id);
}
